#include "library/libthread.h"
#include <apr_time.h>

using namespace basic::library2;
using namespace std;

void CThread::Sleep(apr_uint32_t dwSecond)
{
	apr_sleep(dwSecond*1000*1000);
}

CThread::CThread()
{
	m_dwThreadState = this->INITED;
}

apr_uint64_t CThread::GetHashCode() const
{
    return (apr_uint64_t)this;
}

std::string CThread::ToString() const
{
    return "CThread";
}
